package Source;

import Questions.AnswerQuestion;
import Questions.Question;
import Questions.TestQuestion;

/**
 * Created with IntelliJ IDEA.
 * Source.UserController: Инесса
 * Date: 20.10.13
 * Time: 2:10
 * To change this template use File | Settings | File Templates.
 */
public class StaticQuestions implements QuestionsSource {
    /**
     * Вопросы здесь
     * @return массив вопросов
     */
    @Override
    public Question[] getQuestions() {
        return new Question[]{
                new AnswerQuestion("Your name", "Inessa"),
                new TestQuestion("Yes?", "1", new String[]{"Yes", "No"})
        };
    }
}
